package com.zlc.common.model.role;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 用户数据权限配置,向上取
 */
public class DataRoleVo {

    @ApiModelProperty(value="权限类型 ALL|DEPT|SELF|CUSTOM")
    private String type;

    /**
     * 自定义查询部门 分号隔开
     */
    @ApiModelProperty(value="自定义查询部门 分号隔开")
    private List<String> customDeptCodes;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<String> getCustomDeptCodes() {
        return customDeptCodes;
    }

    public void setCustomDeptCodes(List<String> customDeptCodes) {
        this.customDeptCodes = customDeptCodes;
    }
}
